/*Copyright &copy; 2015-2016 hibabydance.com All rights reserved.*/
package com.kbus.service;

import java.util.List;

import com.kbus.bean.{{entity}};

/**
 * {{author}}
 * {{time}}
 */
public interface {{entity}}Service {
  
  public int create{{entity}}({{entity}} {{entity.toLowerCase()}});

    public int update{{entity}}({{entity}} {{entity.toLowerCase()}});

    public int delete{{entity}}(String id);

    public {{entity}} getById(String id);

    public List<{{entity}}> getAll(int pageNum,int pageSize);
    
    public List<{{entity}}> getAll();
}
